@ var _user = c.currentUser(request, servlet.response);
<div class="pull-left -sidebar">
    <div class="-logo -border">
        <p><img src="${ctxPath}/img/logo.jpg"></p>
        <p class="-desc">
            金杯电工BBS欢迎您大驾光临！
        </p>
    </div>
    <div class="-regist-or-login -border">
        @ if(_user! == null){
            <p>游客</p>
           <!-- <p><a class="btn btn-danger" href="${ctxPath}/regist">游客</a></p>-->
            <!--<p><a class="btn btn-info" href="${ctxPath}/toLogin">马上登录</a></p>-->
        @ }else{
            <p>欢迎： <a href="${ctxPath}/user/${_user.id!}" target="_blank">${_user.username!}</a></p>
            <p><a href="${ctxPath}/user/logout">退出</a></p>
        @ }
    </div>
    <div class="-border">
        <h4 class="text-center muted">话题分类：</h4>
        @ for(module in moduleList!){
            <span class="-module">
                <a href="${ctxPath}/topic/module/${module.id}" class="btn btn-info">${module.name}</a>
            </span>
        @ }
    </div>
</div>